package com.example.zhiran.pojo.option.resourceoption;

/**
 * @author :robin chen
 * 资源操作option合集
 * optionCode range 11~19
 */
public enum ResourceOption {
    /**
     * 资源上传
     */
    RESOURCE_UPLOAD(11,"res_upload"),

    /**
     * 资源下载
     */
    RESOURCE_DOWNLOAD(12,"res_download"),

    /**
     * 资源修改
     */
    RESOURCE_UPDATE(13,"res_update"),

    /**
     * 资源删除
     */
    RESOURCE_DELETE(14,"res_delete");

    private int optionCode;
    private String optionName;

    ResourceOption(int optionCode, String optionName) {
        this.optionCode = optionCode;
        this.optionName = optionName;
    }

    public int getOptionCode() {
        return optionCode;
    }

    public String getOptionName() {
        return optionName;
    }
}
